<?php
declare (strict_types = 1);
/**
 * Created by PhpStorm.
 * User: ^2_3^王尔贝
 * Date: 2020/7/17
 * Time: 14:42
 */

namespace app\validate;

use think\Validate;


/**
 * 验证器类DemoPosts
 * Class DemoPosts
 * @package app\validate
 * @author ^2_3^王尔贝
 */
class DemoPosts extends Validate
{
    // 验证规则
    protected $rule = [
        'title' => 'require|max:25'
    ];
}
